package com.conduit.comnands;

import com.conduit.enums.ResultCode;

public abstract class Command {
	
	protected String commandSyntax;
	private String commandName;
	private ResultCode resultCode;
	private String result;
	private boolean isReturnValue = false;
	
	public abstract void executeWithArgs(String args);
	//public void report (String step, String machineIP, String result, ResultCode resultCode);
	
	
	public ResultCode getResultCode() {
		return resultCode;
	}
	public String getResult() {
		return result;
	}
	public void setCommandName(String commandName) {
		this.commandName = commandName;
	}
	public void setResultCode(ResultCode resultCode) {
		this.resultCode = resultCode;
	}
	public void setResult(String result) {
		this.result = result;
	}
	public String getCommandName() {
		return commandName;
	}


	public boolean isReturnValue() {
		return isReturnValue;
	}


	public void setReturnValue(boolean isReturnValue) {
		this.isReturnValue = isReturnValue;
	}
	
}
